package day03;

import com.sun.corba.se.spi.ior.IdentifiableFactory;

import java.util.Scanner;

public class Prictice01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
       //奇偶
        int a= sc.nextInt();

        if(a%2==0){
            System.out.println("偶");
        }
        else {
            System.out.println("奇");
        }
        //switch对应输出
        int week = sc.nextInt();
        if(week>=1&&week<=7) {
            switch (week){
                case 1:
                    System.out.println("周一");
                    break;
                case 2:
                    System.out.println("周二");
                    break;
                case 3:
                    System.out.println("周三");
                    break;
                case 4:
                    System.out.println("周四");
                    break;
                case 5:
                    System.out.println("周五");
                    break;
                case 6:
                    System.out.println("周六");
                    break;
                default:
                    System.out.println("周七");
                    break;

            }

        }
        else{
            System.out.println("输入正确的星期数");
        }
        //BMI指标
        double height = sc.nextDouble();
        double weight = sc.nextDouble();
        System.out.println("BMI="+(weight/(height*height)));

        double planA=8888-1888;
        double planB=8888*0.75;
        System.out.println(planA>planB?"planA":"planB");


        double absoluteValue= sc.nextDouble();
        if(absoluteValue>=0){
            System.out.println(absoluteValue);
        }
        else {
            System.out.println(absoluteValue*-1);
        }

    }
}
